package org.example.api.goods.category.fallback;

import org.example.api.goods.category.controller.CategoryControllerFeign;
import org.example.api.goods.category.request.CategoryCreateRequest;
import org.example.api.goods.category.request.CategorySearchWithLevelPageRequest;
import org.example.api.goods.category.request.CategorySearchWithLevelRequest;
import org.example.api.goods.category.response.CategorySummaryResponse;
import org.example.frw.api.base.intf.ID;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Collections;
import java.util.List;

public class CategoryControllerFeignFallback implements CategoryControllerFeign {
    @Override
    public ID createCategory(CategoryCreateRequest request) {
        return null;
    }

    @Override
    public List<CategorySummaryResponse> searchCategory(@RequestBody CategorySearchWithLevelPageRequest categorySearchRequest){
        return Collections.emptyList();
    }

  @Override
  public Long searchCategoryCount(CategorySearchWithLevelRequest categorySearchRequest) {
    return 0L;
  }

  @Override
  public CategorySummaryResponse findOne(Long id) {
    return null;
  }

  @Override
  public void hide(Long id) {

  }

}
